#!-*- encoding:utf8 -*-
from django.conf.urls.defaults import *
from osmp.document import models, views

urlpatterns = patterns('',
            #--- 首页
        (r'^$', views.doc),
        (r'adddoc/$', views.adddoc),
        (r'comment/$', views.comment),
        (r'^show/(?P<id>\d+)/$', views.show),
        (r'^edit/(?P<id>\d+)/$', views.edit),
        (r'^list/(\d+)/$', views.doc_list),
)
